@import "../../base/fn";
.baocard {
    padding-bottom: 50px;
    @red-color:#F71143;
    .content {
        padding: 30px 6%;
    }
    ul,
    li {
        list-style: none;
    }
    img {
        display: block;
    }
    #cards {
        li {
            margin-top: 20px;
        }
    }
    .money {
        font-weight: 600;
    }
    .desc {
        font-size: 0.75rem;
        margin-top: 10px;
        align-items: center;
        .price {
            width: 64px;
            position: relative;
            &:after {
                content: " ";
                position: absolute;
                right: 0;
                top: 0;
                height: 100%;
                width: 0;
                border-right: 1px solid #e5e5e5;
            }
        }
        .name{
            padding-left: 10px;
        }
        .sel {
            width: 30px;
            text-align: center;
            border: none;
            border-bottom: 2px solid @red-color;
            font-size: 1.2rem;
            margin: 0 8px;
            outline: none;
            border-radius: 0;
        }
        .weui-flex__item {
            text-align: right;
        }
        .btn_nub {
            display: inline-block;
            width: 26px;
            height: 26px;
            border: 1px solid #CCCCCC;
            border-radius: 50%;
            text-align: center;
            line-height: 23px;
            font-size: 23px;
            color: #CCCCCC;
        }
        .btn_add{
            background: @red-color;
            color: #FFFFFF;
            border-color: @red-color;
        }
        .btn_select{
            background: @red-color url(../../../img/sales/card/selected.png) no-repeat;
            background-size: 26px;
            border-color: @red-color;
        }
        .nonub{
            .btn_mie,.sel{
                display: none;
            }
            .btn_add{
                background: #FFFFFF;
                color: #CCCCCC;
                border-color: #CCCCCC;
            }
            .btn_select{
                background: url(../../../img/sales/card/unselect.png)  no-repeat;
                background-size: 26px;
                border-color: #CCCCCC;
            }
        }
        p {
            line-height: 1.4;
        }
    }
    .totalPanel {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        background: #FFFFFF;
        padding: 6px 0 6px;
        .weui-flex {
            align-items: center;
        }
        .weui-flex__item {
            padding-left: 15px;
            font-size: 0.8rem;
            small{
                vertical-align: top;
            }
        }
        #total {
            font-size: 1.2rem;
        }
        p {
            line-height: 1.2;
        }
        .weui-btn{
            background: @red-color;
            color: #FFFFFF;
        }
        &:after {
            .setTopLine();
        }
    }
    .weui-btn-area {
        margin: 0px 15px;
    }
    .weui-btn {
        font-size: 14px;
    }
}